package com.scribbles.common.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value="home")
public class HomeController {
	Logger logger = Logger.getLogger(HomeController.class);

	@RequestMapping(method = RequestMethod.GET)
	public String goHome() {
		logger.info("Inside getHome");
		return "common/home";
	}
	
	@RequestMapping(value="criteriatest")
	public String testCriteria() {
		logger.info("Inside getHome");
		return "testjpa2";
	}
}
